function showTip(sms, icon, fun, t) {
    if (!t) {
        t = 1000;
    }
    uni.showToast({
        title: sms,
        icon: icon,
        duration: t,
        success: fun
    });
}
function showModal(c, t, fun) {
    if (!t) t = '提示';
    uni.showModal({
        title: t,
        content: c,
        showCancel: false,
        success: fun
    });
}
module.exports.showTip = showTip;
module.exports.showModal = showModal;
